﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpTradeGoods_detail.aspx.cs"
    Inherits="Agency_UpTradeGoods_detail" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>挂网药品详情</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css">

    <script language="vbscript">
    	Sub Load()
		Dim bolSubmit
		bolSubmit = True
		Dim txtInput
		Dim txtarea
		dim i
		
		Set txtInput = document.all("tabData").all.tags("Input")
        Set txtarea = document.all("tabData").all.tags("textarea")
	   
	    For i = 0 To txtarea.length - 1
		    txtarea(i).ReadOnly=true
	    Next
	    
		
	End Sub
	Sub window_onload()
	'msgbox "“sdfgsfg”必须输入数字！",16,"修改档案"
        SetTimeout "Load",1000
    End Sub
    </script>

</head>
<body>

    <script language="javascript">

        function Sel() {
            //  window.alert("11");
            window.open('../manage/GoodsAdd_CompanySearch_dl.aspx');
        }
        function confirmvalue_dl(obj) {
            document.all("HiddenField1").value = obj.companyid;
            document.all("txtCompanyName_PS").value = obj.companyName;
        }
        function PriceCheck() {

            //          var Price=document.getElementById("BidPrice").value; 
            //           // window.alert(parseFloat(Price));
            //          var PurchasePrice=document.getElementById("waitPrice").value;
            // window.alert(PurchasePrice);
            //          if(parseFloat(PurchasePrice)>parseFloat(Price))
            //          {
            //             window.alert('待调价不能高于中标价');
            //             document.getElementById("waitPrice").value = "";
            //             return false;
            //          }
            return true;
        }
    </script>

    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 4px">
                <img src="../images/intro_left.gif" width="4" height="34">
            </td>
            <td class="intro_wordbg">
                修改挂网药品详情
            </td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34">
            </td>
        </tr>
    </table>
    <form id="form1" runat="server">
    <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table_table2">
        <tr>
            <td class="table_td3">
                通用名：
            </td>
            <td class="table_td2">
                <asp:Label ID="labProductName" runat="server" Text="" Width="197px"></asp:Label>
            </td>
            <td class="table_td3">
                剂型：
            </td>
            <td class="table_td2">
                <asp:Label ID="labMedicinemodel" runat="server" Text="" Width="185px"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="table_td3">
                规格：
            </td>
            <td class="table_td2">
                <asp:Label ID="labOutlookc" runat="server" Text="" Width="196px"></asp:Label>
            </td>
            <td class="table_td3">
                商品编码：
            </td>
            <td class="table_td2">
                <asp:Label ID="labProductCode" runat="server" Text="" Width="185px"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="table_td3">
                招标通用名：
            </td>
            <td class="table_td2">
                <asp:Label ID="labBidTableName" runat="server" Text="" Width="196px"></asp:Label>
            </td>
            <td class="table_td3">
                招标剂型：
            </td>
            <td class="table_td2">
                <asp:Label ID="LabBidTableType" runat="server" Text="" Width="185px"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="table_td3">
                药品流水号：
            </td>
            <td class="table_td2">
                <asp:Label ID="LabGoodsId" runat="server" Text="" Width="196px"></asp:Label>
            </td>
            <td class="table_td3">
                商品名：
            </td>
            <td class="table_td2">
                <asp:Label ID="LabGoodsName" runat="server" Text="" Width="185px"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="table_td3" style="height: 24px">
                招标规格：
            </td>
            <td class="table_td2" style="height: 24px">
                <asp:Label ID="LabBidTableOutlookc" runat="server" Text="" Width="196px"></asp:Label>
            </td>
            <td class="table_td3" style="height: 24px">
                转换系数：
            </td>
            <td class="table_td2" style="height: 24px">
                <asp:Label ID="LabFactor" runat="server" Text="" Width="185px"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="table_td3" style="height: 24px">
                包装：
            </td>
            <td class="table_td2" style="height: 24px">
                <asp:Label ID="LabPack" runat="server" Text="" Width="196px"></asp:Label>
            </td>
            <td class="table_td3" style="height: 24px">
                包装单位：
            </td>
            <td class="table_td2" style="height: 24px">
                <asp:Label ID="LabPackUnit" runat="server" Text="" Width="185px"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="table_td3">
                生产企业名称：
            </td>
            <td class="table_td2">
                <asp:Label ID="LabCompanyName_SC" runat="server" Text="" Width="196px"></asp:Label>
            </td>
            <td class="table_td3">
                投标企业名称：
            </td>
            <td class="table_td2">
                <asp:Label ID="LabCompanyName_TB" runat="server" Text="" Width="185px"></asp:Label>
            </td>
        </tr>
    </table>
    <table id="tabData" width="98%" border="0" align="center" cellpadding="2" cellspacing="1"
        class="table_table2">
        <tr>
            <td class="table_td3" style="width: 160px">
                主配送企业名称：
            </td>
            <td class="table_td2" colspan="3">
                <asp:TextBox ID="txtCompanyName_PS" CssClass="input_text" runat="server" Width="231px"
                    NotNull="主配送企业名称" InvertedComma="配送企业" unselectable="on"></asp:TextBox><span style="color: #ff6666">
                        <%--   (*)<input id="Button1" type="button" value="选择配送企业" class="button_bg6" onclick='Sel()'
                                        style="width: 90px" /><span style="color: #ff0000"></span><span style="color: #ff6666"><asp:HiddenField ID="HiddenField1" runat="server" />--%>
                    </span>
            </td>
        </tr>
        <tr colspan="2">
            <td class="table_td3">
                药品质量层次：
            </td>
            <td class="table_td2" colspan="3">
                <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table_table2">
                    <tr>
                        <td class="table_td2">
                            <asp:RadioButtonList ID="rdoQualityLevels" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Text="普通GMP药品" Value="0" Selected="True"></asp:ListItem>
                                <asp:ListItem Text="专利药品" Value="1"></asp:ListItem>
                                <asp:ListItem Text="1999年以来获得国家科学技术奖的药品" Value="2"></asp:ListItem>
                                <asp:ListItem Text="国家一类新药" Value="3"></asp:ListItem>
                                <asp:ListItem Text="原研制药品" Value="4"></asp:ListItem>
                                <asp:ListItem Text="单独定价药品" Value="5"></asp:ListItem>
                                <asp:ListItem Text="优质优价中成药" Value="6"></asp:ListItem>
                                <asp:ListItem Text="全国医药工业百强企业的药品" Value="7"></asp:ListItem>
                                <asp:ListItem Text="中药保护品种" Value="8"></asp:ListItem>
                                <asp:ListItem Text="欧美认证药品" Value="9"></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr colspan="2">
            <td class="table_td3">
                挂网类型：
            </td>
            <td class="table_td2" colspan="3">
                <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table_table2">
                    <tr>
                        <td class="table_td2">
                            <asp:RadioButtonList ID="rdoGoodsState" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Text="原中标商品" Value="0" Disabled></asp:ListItem>
                                <asp:ListItem Text="备案采购商品" Value="1" Disabled></asp:ListItem>
                                <asp:ListItem Text="不限价不竞价商品" Value="2" Disabled></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="table_td3" style="height: 66px">
                是否可用：
            </td>
            <td class="table_td2" colspan="3" style="height: 66px">
                <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table_table2">
                    <tr>
                        <td class="table_td2" style="height: 45px">
                            <asp:RadioButtonList ID="rdoIsUse" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Text=" 撤废状态" Value="0" Disabled></asp:ListItem>
                                <asp:ListItem Text="可交易状态" Value="1" Disabled></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <asp:Label ID="label3" runat="server">
            <tr>
                <td class="table_td3" style="width: 160px">
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </td>
                <td class="table_td2" colspan="3">
                    <asp:TextBox ID="BidPrice" runat="server" Width="231px" CssClass="input_text" NotNull="中标价格"
                        InvertedComma="中标价格" ReadOnly="True"></asp:TextBox><span></span>
                </td>
            </tr>
            <tr>
                <td class="table_td3" style="width: 160px">
                    待调价格（最小包装）：
                </td>
                <td class="table_td2" colspan="3">
                    <asp:TextBox ID="waitPrice" CssClass="input_text" runat="server" Width="231px" NotNull="中标价格"
                        InvertedComma="中标价格"></asp:TextBox><span></span>
                    <asp:Button ID="savewait" runat="server" Text="保 存" class="button_bg6" Width="64px"
                        OnClick="savewait_Click" OnClientClick="javascript:return PriceCheck()" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button ID="look" runat="server" Text="查看历史价格" class="button_bg6" Width="90px"
                        OnClick="lookhistory_Click" />
                </td>
            </tr>
            <asp:Label ID="label4" runat="server">
                <tr>
                    <td class="table_td3" style="width: 160px">
                        <asp:Label ID="Label5" runat="server" Text="Label"></asp:Label>
                    </td>
                    <td class="table_td2" colspan="3">
                        <asp:TextBox ID="TextBox1" runat="server" Width="231px" CssClass="input_text" NotNull="中标价格"
                            InvertedComma="中标价格" ReadOnly="True"></asp:TextBox><span></span>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3" style="width: 160px">
                        待调价格（最小包装）：
                    </td>
                    <td class="table_td2" colspan="3">
                        <asp:TextBox ID="TextBox2" CssClass="input_text" runat="server" Width="231px" NotNull="中标价格"
                            InvertedComma="中标价格"></asp:TextBox><span></span>
                        <asp:Button ID="saveRetail" runat="server" Text="保 存" class="button_bg6" Width="64px"
                            OnClick="saveRetail_savewait_Click" OnClientClick="javascript:return PriceCheck()" />
                        &nbsp; &nbsp; &nbsp;
                        <asp:Button ID="Button4" runat="server" Text="查看历史价格" class="button_bg6" Width="90px"
                            OnClick="history_Click" />
                    </td>
                </tr>
            </asp:Label></asp:Label>
        <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
        <tr>
            <td class="table_td3">
                <asp:Button ID="Btnpass" runat="server" Text="恢复交易资格" class="button_bg6" Width="90px"
                    OnClick="Btnpass_Click" />
            </td>
            <td class="table_td3" style="width: 558px">
                <asp:Button ID="Btnnopass" runat="server" Text="撤废交易资格" class="button_bg6" Width="91px"
                    OnClick="Btnnopass_Click" />
            </td>
            <td class="table_td3">
                &nbsp;<asp:Button ID="Button3" runat="server" Text="修改质量层次" class="button_bg6" Width="90px"
                    OnClick="Button3_Click" />
            </td>
            <td class="table_td3">
                <input id="Button2" type="button" value="关 闭" class="button_bg6" style="width: 52px"
                    onclick="javascript:self.close();" />&nbsp;
            </td>
        </tr>
    </table>
    </form>
    <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center" Height="50px" Width="98%">
        <font size="3" color="#ff0000">撤 废 原 因</font>
        <textarea id="TextArea1" cols="20" rows="2" style="width: 100%; height: 80%" runat="server"></textarea></asp:Panel>
</body>
</html>
